package com.weimengchao;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;

//开启服务发现）
@EnableFeignClients(basePackages = "com.weimengchao.client")
@SpringBootApplication
public class ProviderClientExampleApplication {

    public static void main(String[] args) throws InterruptedException {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(ProviderClientExampleApplication.class, args);
    }

}
